package com.david.elasticjob.domain;

import java.io.Serializable;

/**
 * @author David
 * @version V1.0
 * @Package com.david.elasticjob.domain
 * @date 2021/5/4 16:41
 */
public class Person implements Serializable {
    private int id;
    private String name;
    private int sex;
    private int age;
    private int state;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", state=" + state +
                '}';
    }
}
